package com.yumeko.springcloud.server;

import org.springframework.stereotype.Component;

@Component
public class PaymentFeignClientService implements PaymentHytrixService{ ////降级方式3
    @Override
    public String paymentInfoOK(Integer id) {
        return "宝贝服务有点忙! PaymentHytrixService fall back paymentInfoOK (┬＿┬)";
    }

    @Override
    public String paymentInfoTimeOut(Integer id) {
        return "宝贝服务有点忙! PaymentHytrixService fall back paymentInfoTimeOut (┬＿┬)";
    }
}
